<!--
 * @Date: 2023-06-20 18:15:44
 * @作者: 七星玉蘅
 * @邮箱: 1532250426@qq.com
 * @LastEditTime: 2023-06-28 10:21:45
 * @FilePath: \kaifamiao\client\src\App.vue
-->
<template>
  <nav>
    <!-- <router-link to="/">首页</router-link> -->
    <!-- <router-link to="/test">测试</router-link> -->
    <router-link to="/">首页</router-link>
    <br>
    <router-link to="/phb">排行榜</router-link>
  </nav>
  <router-view />
</template>

<style lang="scss">
#app {
  font-family: Avenir, Helvetica, Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-align: center;
  color: #2c3e50;
}

nav {
  padding: 30px;

  a {
    font-weight: bold;
    color: #2c3e50;

    &.router-link-exact-active {
      color: #42b983;
    }
  }
}
</style>
